package com.education.platform.dto.statistics;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


import java.time.LocalDate;

/**
 * 统计DTO
 *
 * @author education-platform
 * @since 2024-09-27
 */
@Data
public class StatisticsDTO {

    /**
     * 统计日期
     */
    @NotNull(message = "统计日期不能为空")
    private LocalDate statDate;

    /**
     * 统计类型
     */
    @NotBlank(message = "统计类型不能为空")
    private String statType;

    /**
     * 统计值
     */
    @NotNull(message = "统计值不能为空")
    private Long statValue;

    /**
     * 额外数据
     */
    private String extraData;
}

